pipeline{
    agent {
        label 'master'
    }

    environment{
        docker_image_name = 'jeesite4'
        docker_container_name = 'iJeesite4'
    }

    paramaters {
        String(name: 'branch', defaultValue: 'master', description: 'Git branch')
    }

    stages{
        stage('同步源码'){
            steps{
                git url: 'https://gitee.com/SDaMoDao/jeesite4.git', branch:'$branch'
            }
        }

        stage('设定配置文件'){
            steps{
                sh '''
                    
                   '''
            }
        }
    }
}